package com.xiaoyu.test.bean;

import com.xiaoyu.beans.factory.annotation.Autowired;
import com.xiaoyu.stereotype.Component;

/**
 * @author derekyi
 * @date 2021/1/25
 */
@Component
public class A implements AInterface{

	@Autowired
	private B b;

	@Override
	public void func(){
		System.out.println("In A");
	}

	@Override
	public B getB() {
		return b;
	}

	public void setB(B b) {
		this.b = b;
	}
}
